<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
欢迎登录设备管理系统
<script type="text/javascript">
    function jumpToRegister(){
        window.location = "register.jsp"
    }

</script>
<form name="loginForm" action="servlet/LoginServlet" method="post">
    请您输入账号：<input name="account" type="text"><BR>
    请您输入密码：<input name="password" type="password"><BR>
    <input type="radio" name = "authority" value = "1" checked>管理员
    <input type="radio" name = "authority" value = "2">普通用户
    <input type="submit" value="登录">
    <input type="button" value="注册" onClick="jumpToRegister()">
</form>
</body>
</body>
</html>